package utils;

import java.util.Map;

public class LANPackage {

	private Boolean priority;
	private Map<String, Object> records;

	public LANPackage(boolean priority, Map<String, Object> records) {
		this.priority = priority;
		this.records = records;
	}
	
	public Boolean isPriority() {
		return priority;
	}

	public Object get(String key) {
		return this.records.get(key);
	}

	public void put(String key, Object value) {
		this.records.put(key, value);
	}
	
	@Override
	public String toString() {
		return priority.toString() + "  " + records.toString();
	}
}